﻿using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmallShop.Services.Interfaces
{
    public interface IBaseMongoService<T> where T:class
    {
        void Add(T Entity);
        void Update(T Entity);
        T GetById(string Id);
        IEnumerable<T> All();
    }
}
